import React from 'react';
import {FilterTypes} from "../../filterTypes";
import Link from './Link'

const Filter = () => (
    <p className="filters">
        <Link filter={FilterTypes.All}>{FilterTypes.All}</Link>
        <Link filter={FilterTypes.COMPLETED}>{FilterTypes.COMPLETED}</Link>
        <Link filter={FilterTypes.UNCOMPLETED}>{FilterTypes.UNCOMPLETED}</Link>
    </p>
);
export default Filter;